﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using MaiPlanServer.Dto;
using MaiPlanServer.Model;

namespace MaiPlanServer.IServices.IOrganizationaServices
{
    public interface IUserManageServices
    {
        public Task<IEnumerable<sys_userDto>> GetUsers(int PageIndex, int PageSize, string nick_name, string phonenumber, string status);

        public Task<bool> AddAsync(sys_user model);
        public Task<bool> DelAsync(string user_id);
        public Task<bool> PutAsync(sys_user model);
        public Task<bool> DelAllAsnc(string user_id);
        public Task<int> GetUserCount(string nick_name, string phonenumber, string status);
    }
}
